package com.itheima.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Author: Zheng
 * Date:   2024/1/25  15:58
 * Package：com.itheima.pojo
 * Description：Aliyun相关配置
 * Version：1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliOSSProperties {

    //区域
    private String endpoint;
    //身份ID
    private String accessKeyId;
    //身份密钥
    private String accessKeySecret;
    //存储空间
    private String bucketName;
}
